﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Model;

namespace BLL
{
    public class TargetViewColumnWhereConditionBLL: BaseBLL
    {
        public TargetViewColumnWhereConditionBLL(LoginInfo info)
        {
            loginInfo = info;
        }
        public int Insert(ETL_Target_View_ColumnConfig_WhereConditionInfo model)
        {
            return new TargetViewColumnWhereConditionDAL(loginInfo).Insert(model);
        }

        #region ETL_Target_View_ColumnConfig_WhereCondition

        public List<ETL_Target_View_ColumnConfig_WhereConditionInfo> GetColumnWhereConditionConfigByColumnID(string columnID)
        {
            TargetViewColumnWhereConditionDAL dal = new TargetViewColumnWhereConditionDAL(loginInfo);
            return dal.GetColumnWhereConditionConfigByColumnID(columnID);
        }


        #endregion
    }
}
